package com.settlement.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;

/**
* <p>
* KAFKA发送失败记录表导入VO
* </p>
*
* @author huangrensen
* @since 2024-09-09
*/
@Schema
@Data
public class KafkaSendErrorRecordImportVo implements Serializable {
    @ExcelProperty(value = "唯一消息ID")
    private String uuid;
    @ExcelProperty(value = "原始数据")
    private String dataText;
    @ExcelProperty(value = "状态")
    private String status;
    @ExcelProperty(value = "备注")
    private String remark;
    @ExcelProperty(value = "是否删除")
    private String deleted;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("唯一消息ID", "uuid");
        map.put("原始数据", "dataText");
        map.put("状态", "status");
        map.put("备注", "remark");
        map.put("是否删除", "deleted");
        return map;
    }
}
